package com.vietnam.power.domain;

import com.vietnam.power.constant.ProductConstant;

public class ProductSearchDTO {
	private String keyword;
	private Long productId;
	private Long productCatId;
	private Double maxPrice;
	private Double minPrice;
	private Integer sortBy;
	private Integer page;
	private Integer maxResult;
	private Long ownerId;

	public ProductSearchDTO() {
		super();
		this.page = 0;
		this.maxResult = ProductConstant.MAX_RESULTS_PER_PAGE;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public Long getProductCatId() {
		return productCatId;
	}

	public void setProductCatId(Long productCatId) {
		this.productCatId = productCatId;
	}

	public Double getMaxPrice() {
		return maxPrice;
	}

	public void setMaxPrice(Double maxPrice) {
		this.maxPrice = maxPrice;
	}

	public Double getMinPrice() {
		return minPrice;
	}

	public void setMinPrice(Double minPrice) {
		this.minPrice = minPrice;
	}

	public Integer getSortBy() {
		return sortBy;
	}

	public void setSortBy(Integer sortBy) {
		this.sortBy = sortBy;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getMaxResult() {
		return maxResult;
	}

	public void setMaxResult(Integer maxResult) {
		this.maxResult = maxResult;
	}

	public Long getOwnerId() {
		return ownerId;
	}

	public void setOwnerId(Long ownerId) {
		this.ownerId = ownerId;
	}

}
